main(n){for(gets(&n);~scanf("%d",&n);printf("%d\n",(n+1)*n/2));}
